home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / winutils / wingauge.zip / INTEGR1.C < prev    next >
C/C++ Source or Header  |  1993-01-19  |  493b  |  22 lines

  1. #pragma hdrfile "WinGauge.SYM"
  2. #include <win31.h>
  3. #include "wingauge.h"
  4. #include "wingauge.rh"
  5. #pragma hdrstop
  6.  
  7.  
  8. HANDLE    hInst;
  9.  
  10. #pragma    argsused
  11. int PASCAL WinMain( HANDLE hInstance, HANDLE hPrevInst, LPSTR lpszCmdLine,
  12.             int nCmdShow )
  13. { FARPROC    lpWndProc;
  14.  
  15.   hInst = hInstance;
  16.  
  17.   if( PreventMultiply(hPrevInst) )
  18.     return FALSE;
  19.  
  20.   lpWndProc = MakeProcInstance( (FARPROC)WndProc, hInst );
  21.   return DialogBox( hInst, MAKEINTRESOURCE(WINGAUGE), NULL, lpWndProc );
  22. }